//
//  AppDelegate.swift
//  RxZhihu
//
//  Created by vsccw on 2018/12/22.
//  Copyright © 2018 vsccw.com. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
  
  var window: UIWindow?
  
  
  func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    let window = UIWindow(frame: UIScreen.main.bounds)
    Application.shared.configuration(with: window)
    Application.shared.configurationUI()
    self.window = window
    return true
  }
  
  func applicationWillResignActive(_ application: UIApplication) {

  }
  
  func applicationDidEnterBackground(_ application: UIApplication) {
  
  }
  
  func applicationWillEnterForeground(_ application: UIApplication) {
    
  }
  
  func applicationDidBecomeActive(_ application: UIApplication) {
    
  }
  
  func applicationWillTerminate(_ application: UIApplication) {
   
  }
}
